package com.woniu.outlet.mysql.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class ProductSellMySQLExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductSellMySQLExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(String value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(String value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(String value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(String value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(String value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLike(String value) {
            addCriterion("product_type like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotLike(String value) {
            addCriterion("product_type not like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<String> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<String> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(String value1, String value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(String value1, String value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andCodeIdIsNull() {
            addCriterion("code_id is null");
            return (Criteria) this;
        }

        public Criteria andCodeIdIsNotNull() {
            addCriterion("code_id is not null");
            return (Criteria) this;
        }

        public Criteria andCodeIdEqualTo(String value) {
            addCriterion("code_id =", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotEqualTo(String value) {
            addCriterion("code_id <>", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdGreaterThan(String value) {
            addCriterion("code_id >", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdGreaterThanOrEqualTo(String value) {
            addCriterion("code_id >=", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdLessThan(String value) {
            addCriterion("code_id <", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdLessThanOrEqualTo(String value) {
            addCriterion("code_id <=", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdLike(String value) {
            addCriterion("code_id like", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotLike(String value) {
            addCriterion("code_id not like", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdIn(List<String> values) {
            addCriterion("code_id in", values, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotIn(List<String> values) {
            addCriterion("code_id not in", values, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdBetween(String value1, String value2) {
            addCriterion("code_id between", value1, value2, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotBetween(String value1, String value2) {
            addCriterion("code_id not between", value1, value2, "codeId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andSellShareIsNull() {
            addCriterion("sell_share is null");
            return (Criteria) this;
        }

        public Criteria andSellShareIsNotNull() {
            addCriterion("sell_share is not null");
            return (Criteria) this;
        }

        public Criteria andSellShareEqualTo(String value) {
            addCriterion("sell_share =", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareNotEqualTo(String value) {
            addCriterion("sell_share <>", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareGreaterThan(String value) {
            addCriterion("sell_share >", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareGreaterThanOrEqualTo(String value) {
            addCriterion("sell_share >=", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareLessThan(String value) {
            addCriterion("sell_share <", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareLessThanOrEqualTo(String value) {
            addCriterion("sell_share <=", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareLike(String value) {
            addCriterion("sell_share like", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareNotLike(String value) {
            addCriterion("sell_share not like", value, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareIn(List<String> values) {
            addCriterion("sell_share in", values, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareNotIn(List<String> values) {
            addCriterion("sell_share not in", values, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareBetween(String value1, String value2) {
            addCriterion("sell_share between", value1, value2, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellShareNotBetween(String value1, String value2) {
            addCriterion("sell_share not between", value1, value2, "sellShare");
            return (Criteria) this;
        }

        public Criteria andSellTimeIsNull() {
            addCriterion("sell_time is null");
            return (Criteria) this;
        }

        public Criteria andSellTimeIsNotNull() {
            addCriterion("sell_time is not null");
            return (Criteria) this;
        }

        public Criteria andSellTimeEqualTo(String value) {
            addCriterion("sell_time =", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeNotEqualTo(String value) {
            addCriterion("sell_time <>", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeGreaterThan(String value) {
            addCriterion("sell_time >", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeGreaterThanOrEqualTo(String value) {
            addCriterion("sell_time >=", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeLessThan(String value) {
            addCriterion("sell_time <", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeLessThanOrEqualTo(String value) {
            addCriterion("sell_time <=", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeLike(String value) {
            addCriterion("sell_time like", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeNotLike(String value) {
            addCriterion("sell_time not like", value, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeIn(List<String> values) {
            addCriterion("sell_time in", values, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeNotIn(List<String> values) {
            addCriterion("sell_time not in", values, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeBetween(String value1, String value2) {
            addCriterion("sell_time between", value1, value2, "sellTime");
            return (Criteria) this;
        }

        public Criteria andSellTimeNotBetween(String value1, String value2) {
            addCriterion("sell_time not between", value1, value2, "sellTime");
            return (Criteria) this;
        }

        public Criteria andHoldDayIsNull() {
            addCriterion("hold_day is null");
            return (Criteria) this;
        }

        public Criteria andHoldDayIsNotNull() {
            addCriterion("hold_day is not null");
            return (Criteria) this;
        }

        public Criteria andHoldDayEqualTo(String value) {
            addCriterion("hold_day =", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayNotEqualTo(String value) {
            addCriterion("hold_day <>", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayGreaterThan(String value) {
            addCriterion("hold_day >", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayGreaterThanOrEqualTo(String value) {
            addCriterion("hold_day >=", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayLessThan(String value) {
            addCriterion("hold_day <", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayLessThanOrEqualTo(String value) {
            addCriterion("hold_day <=", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayLike(String value) {
            addCriterion("hold_day like", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayNotLike(String value) {
            addCriterion("hold_day not like", value, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayIn(List<String> values) {
            addCriterion("hold_day in", values, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayNotIn(List<String> values) {
            addCriterion("hold_day not in", values, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayBetween(String value1, String value2) {
            addCriterion("hold_day between", value1, value2, "holdDay");
            return (Criteria) this;
        }

        public Criteria andHoldDayNotBetween(String value1, String value2) {
            addCriterion("hold_day not between", value1, value2, "holdDay");
            return (Criteria) this;
        }

        public Criteria andSellCostIsNull() {
            addCriterion("sell_cost is null");
            return (Criteria) this;
        }

        public Criteria andSellCostIsNotNull() {
            addCriterion("sell_cost is not null");
            return (Criteria) this;
        }

        public Criteria andSellCostEqualTo(BigDecimal value) {
            addCriterion("sell_cost =", value, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostNotEqualTo(BigDecimal value) {
            addCriterion("sell_cost <>", value, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostGreaterThan(BigDecimal value) {
            addCriterion("sell_cost >", value, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_cost >=", value, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostLessThan(BigDecimal value) {
            addCriterion("sell_cost <", value, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_cost <=", value, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostIn(List<BigDecimal> values) {
            addCriterion("sell_cost in", values, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostNotIn(List<BigDecimal> values) {
            addCriterion("sell_cost not in", values, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_cost between", value1, value2, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_cost not between", value1, value2, "sellCost");
            return (Criteria) this;
        }

        public Criteria andSellAmountIsNull() {
            addCriterion("sell_amount is null");
            return (Criteria) this;
        }

        public Criteria andSellAmountIsNotNull() {
            addCriterion("sell_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSellAmountEqualTo(BigDecimal value) {
            addCriterion("sell_amount =", value, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountNotEqualTo(BigDecimal value) {
            addCriterion("sell_amount <>", value, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountGreaterThan(BigDecimal value) {
            addCriterion("sell_amount >", value, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_amount >=", value, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountLessThan(BigDecimal value) {
            addCriterion("sell_amount <", value, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_amount <=", value, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountIn(List<BigDecimal> values) {
            addCriterion("sell_amount in", values, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountNotIn(List<BigDecimal> values) {
            addCriterion("sell_amount not in", values, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_amount between", value1, value2, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andSellAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_amount not between", value1, value2, "sellAmount");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeIsNull() {
            addCriterion("revocation_time is null");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeIsNotNull() {
            addCriterion("revocation_time is not null");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeEqualTo(String value) {
            addCriterion("revocation_time =", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeNotEqualTo(String value) {
            addCriterion("revocation_time <>", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeGreaterThan(String value) {
            addCriterion("revocation_time >", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeGreaterThanOrEqualTo(String value) {
            addCriterion("revocation_time >=", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeLessThan(String value) {
            addCriterion("revocation_time <", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeLessThanOrEqualTo(String value) {
            addCriterion("revocation_time <=", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeLike(String value) {
            addCriterion("revocation_time like", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeNotLike(String value) {
            addCriterion("revocation_time not like", value, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeIn(List<String> values) {
            addCriterion("revocation_time in", values, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeNotIn(List<String> values) {
            addCriterion("revocation_time not in", values, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeBetween(String value1, String value2) {
            addCriterion("revocation_time between", value1, value2, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andRevocationTimeNotBetween(String value1, String value2) {
            addCriterion("revocation_time not between", value1, value2, "revocationTime");
            return (Criteria) this;
        }

        public Criteria andIncomeIdIsNull() {
            addCriterion("income_id is null");
            return (Criteria) this;
        }

        public Criteria andIncomeIdIsNotNull() {
            addCriterion("income_id is not null");
            return (Criteria) this;
        }

        public Criteria andIncomeIdEqualTo(String value) {
            addCriterion("income_id =", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdNotEqualTo(String value) {
            addCriterion("income_id <>", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdGreaterThan(String value) {
            addCriterion("income_id >", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdGreaterThanOrEqualTo(String value) {
            addCriterion("income_id >=", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdLessThan(String value) {
            addCriterion("income_id <", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdLessThanOrEqualTo(String value) {
            addCriterion("income_id <=", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdLike(String value) {
            addCriterion("income_id like", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdNotLike(String value) {
            addCriterion("income_id not like", value, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdIn(List<String> values) {
            addCriterion("income_id in", values, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdNotIn(List<String> values) {
            addCriterion("income_id not in", values, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdBetween(String value1, String value2) {
            addCriterion("income_id between", value1, value2, "incomeId");
            return (Criteria) this;
        }

        public Criteria andIncomeIdNotBetween(String value1, String value2) {
            addCriterion("income_id not between", value1, value2, "incomeId");
            return (Criteria) this;
        }

        public Criteria andRevocationShareIsNull() {
            addCriterion("revocation_share is null");
            return (Criteria) this;
        }

        public Criteria andRevocationShareIsNotNull() {
            addCriterion("revocation_share is not null");
            return (Criteria) this;
        }

        public Criteria andRevocationShareEqualTo(String value) {
            addCriterion("revocation_share =", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareNotEqualTo(String value) {
            addCriterion("revocation_share <>", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareGreaterThan(String value) {
            addCriterion("revocation_share >", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareGreaterThanOrEqualTo(String value) {
            addCriterion("revocation_share >=", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareLessThan(String value) {
            addCriterion("revocation_share <", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareLessThanOrEqualTo(String value) {
            addCriterion("revocation_share <=", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareLike(String value) {
            addCriterion("revocation_share like", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareNotLike(String value) {
            addCriterion("revocation_share not like", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareIn(List<String> values) {
            addCriterion("revocation_share in", values, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareNotIn(List<String> values) {
            addCriterion("revocation_share not in", values, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareBetween(String value1, String value2) {
            addCriterion("revocation_share between", value1, value2, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareNotBetween(String value1, String value2) {
            addCriterion("revocation_share not between", value1, value2, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}